import { createRouter, createWebHashHistory } from 'vue-router'
import Detail from '../components/Detail.vue';

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            // :id和:language表示占位符
            path: '/detail/:id/:language',
            component: Detail
        }
    ]
});
export default router;